package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 点评详细
 * </p>
 *
 * @author hpiggy
 * @since 2024-11-29
 */
@TableName("adms_estimate_details")
@ApiModel(value = "EstimateDetails对象", description = "点评详细")
@Data
public class EstimateDetails implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("简历id")
    private Long recruitId;

    @ApiModelProperty("面试评分详情表id")
    private Long gradeDetailsId;

    private Integer type; //1面试点评 2试岗点评

    @ApiModelProperty("选项")
    private Long optionId;

    @ApiModelProperty("分数")
    private Integer score;

    @ApiModelProperty("点评人")
    private Long estimateId;

    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;
}
